package com.qd.hik.dto.invoice;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 开票详情
 *
 * @author sjk
 * @create 2024-05-29 16:20
 * @since 1.0.0
 */
@Data
@Accessors(chain = true)
public class HkInvoiceDetailResp {
    /**
     * 开票申请id
     */
    private String invoiceId;
    /**
     * 开票申请时间
     */
    private String requestTime;
    /**
     * 开票状态 1-正在开票，2-开票成功，3-开票失败
     */
    private String invoiceState;
    /**
     * 开票金额 单位分
     */
    private String invoiceAmount;
    /**
     * 发票抬头
     */
    private String invoiceTitle;
    /**
     * 发票抬头类型：1 企业抬头；2个人/非企业单位抬头
     */
    private String invoiceTitleType;
    /**
     * 发票抬头类型
     */
    private String invoiceTitleTypeText;
    /**
     * 开票账户
     */
    private Integer groupId;
    /**
     * 发票内容类型0-停车缴费开票 1-包月开票
     */
    private Integer invoiceContentType;
    /**
     * 发票内容文本
     */
    private String invoiceContent;

    public void freeData() {
        invoiceId = null;
        requestTime = null;
        invoiceState = null;
        invoiceAmount = null;
        invoiceTitle = null;
        invoiceTitleType = null;
        invoiceTitleTypeText = null;
        groupId = null;
        invoiceContentType = null;
        invoiceContent = null;
    }
}